package com.sm.model;

import cn.hutool.core.date.DatePattern;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class Cooperation {
    private Integer cooperationId;//合作园id
    private Integer userId;//用户id
    private String userName;//用户姓名
    private Integer userSex;//用户性别
    private String phone;//手机号
    private String address;//地址
    private Integer status; //状态0申请中1成功2失败
    @JsonFormat(pattern = DatePattern.NORM_DATETIME_PATTERN, timezone = "GMT+8")
    private Date createTime;

}
